<?php /* Smarty version Smarty-3.0.7, created on 2012-02-13 09:55:55
         compiled from "components/filter\filtertable.tpl" */ ?>
<?php /*%%SmartyHeaderCode:226644f38d01b8d6f51-80066297%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '11978d4e489b9c774a63eec16e2ab53f55f49f07' => 
    array (
      0 => 'components/filter\\filtertable.tpl',
      1 => 1329122786,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '226644f38d01b8d6f51-80066297',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!$_smarty_tpl->getVariable('list')->value['ajax']){?>
	<?php echo $_smarty_tpl->getVariable('borderopen')->value;?>

	<?php if ($_smarty_tpl->getVariable('list')->value['withstatus']){?>
			<span class="status"><?php echo $_smarty_tpl->getVariable('list')->value['tabletitle'];?>
</span>
			<span id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_status" class="statusdetail">
			</span>
	<?php }?>
			<table id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_hdr" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_hdr" class="filtertable">
				<thead>
				<tr>
					<th name="col_first" width="20px" <?php if (!$_smarty_tpl->getVariable('list')->value['showcb']){?>class="hide"<?php }?>><input name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" type="checkbox" value="-1" onclick="toggleCB('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
','<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
', this.checked); fillSelected('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
',true,this.checked);"/></th>
					<th width="110"><?php echo $_smarty_tpl->getVariable('list')->value['lblpartnertype'];?>
</th><!-- partnertype -->
					<th><?php echo $_smarty_tpl->getVariable('list')->value['lblalldata'];?>
</th><!-- alldata vagott-->
					<th style="padding-right:20px;"><?php echo $_smarty_tpl->getVariable('list')->value['lbldetails'];?>
</th>
					<th style="padding-right:20px;" <?php if (!$_smarty_tpl->getVariable('list')->value['acc']){?>class="hide"<?php }?>><?php echo $_smarty_tpl->getVariable('list')->value['lblcurrency'];?>
</th>
					<th class="hide"></th><!-- name -->
					<th class="hide"></th><!-- data -->
					<th class="hide"></th><!-- program  -->
				</tr>
				</thead>
			</table>
			<div class="scrolldiv">
			<table id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" class="filtertable">
				<tbody id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_body">
<?php }?>
				<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(0, null, null);?>
				<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
					<tr height="15px" <?php if (!$_smarty_tpl->getVariable('list')->value['noselect']){?>class="highlightrow" onclick="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_filter.rowClick(this);" <?php }?> name="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
" <?php if ((strlen($_smarty_tpl->tpl_vars['row']->value['comment'])>0)){?>title="<?php echo $_smarty_tpl->tpl_vars['row']->value['comment'];?>
"<?php }?>>
<?php if (!$_smarty_tpl->getVariable('list')->value['export']){?>
						<td name="col_first" <?php if (!$_smarty_tpl->getVariable('list')->value['showcb']){?>class="hide textcenter"<?php }else{ ?>class="textcenter"<?php }?>><input name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
<?php echo $_smarty_tpl->getVariable('i')->value;?>
" id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_cb_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
<?php echo $_smarty_tpl->getVariable('i')->value;?>
" type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
" onclick="this.checked=(this.checked ? false : true);" /></td><!--onclick=" fillSelected('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
',false,this.checked);"-->
<?php }?>
						<td name="<?php echo $_smarty_tpl->tpl_vars['row']->value['partnertypeid'];?>
"><?php echo $_smarty_tpl->tpl_vars['row']->value['partnertype'];?>
</td>
						<td><span class="highlighttext"><?php if ((!$_smarty_tpl->getVariable('list')->value['export']&&strlen($_smarty_tpl->tpl_vars['row']->value['comment'])>0)){?>* <?php }?><?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
</span> | <?php echo $_smarty_tpl->tpl_vars['row']->value['countryName'];?>
</td>
						<td style="min-width: 25px"><?php echo $_smarty_tpl->tpl_vars['row']->value['details'];?>
</td>
						<td <?php if (!$_smarty_tpl->getVariable('list')->value['acc']){?>class="hide"<?php }?>><?php echo $_smarty_tpl->tpl_vars['row']->value['currency'];?>
</td>
<?php if (!$_smarty_tpl->getVariable('list')->value['export']){?>
						<td class="hide"><?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
</td>
						<td class="hide"><?php echo $_smarty_tpl->tpl_vars['row']->value['det'];?>
</td>
						<td class="hide"><?php echo $_smarty_tpl->tpl_vars['row']->value['programs'];?>
</td>
<?php }?>
					</tr>
					<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->getVariable('i')->value+1, null, null);?>
				<?php }} ?>
<?php if (!$_smarty_tpl->getVariable('list')->value['ajax']){?>
				</tbody>
			</table>
			</div>
			<?php if ($_smarty_tpl->getVariable('list')->value['buttons']){?>
				<br/>
				<input type="button" value="Set as new collection list" onclick="addToCollection('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
', false, true);"/>
				<input type="button" value="Append to collection list" onclick="addToCollection('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
', true, true);"/>
				<?php if ($_smarty_tpl->getVariable('list')->value['exportable']){?>
					<input type="button" value="Export selected records to xls" onclick="exportList('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
', '<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
');"/>
				<?php }?>
			<?php }?>
	<?php echo $_smarty_tpl->getVariable('borderclose')->value;?>

<script language="javascript">
	setRecordCount("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
","<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
");
	setScrolltableHdr("<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
");
</script>
<?php }?>